package com.gxa.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * (Goods)实体类
 *
 * @author makejava
 * @since 2020-11-25 17:17:01
 */
@ApiModel(value = "商品实体类")
public class Goods implements Serializable {
    private static final long serialVersionUID = 703700288988281478L;
    /**
     * 商品id(主键)
     */
    @ApiModelProperty(name = "goodsId",notes = "商品id(主键)",required = false,value = "商品id(主键)")
    private Integer goodsId;
    /**
     * 商品名称
     */
    @ApiModelProperty(name = "goodsName",notes = "商品名称",required = true,value = "商品名称")
    private String goodsName;
    /**
     * 商品备注
     */
    @ApiModelProperty(name = "goodsRemarks",notes = "商品备注",required = false,value = "商品备注")
    private String goodsRemarks;
    /**
     * 库存警告
     */
    @ApiModelProperty(name = "goodsIw",notes = "库存警告",required = true,value = "库存警告")
    private Integer goodsIw;
    /**
     * 回收站状态(0:放入回收站 1:未放入回收站)
     */
    @ApiModelProperty(name = "goodsRbs",notes = "回收站状态(0:放入回收站 1:未放入回收站)",required = false,value = "回收站状态(0:放入回收站 1:未放入回收站)")
    private Integer goodsRbs;
    /**
     * 商品库存
     */
    @ApiModelProperty(name = "goodsCi",notes = "商品库存",required = true,value = "商品库存")
    private Integer goodsCi;
    /**
     * 商品价格
     */
    @ApiModelProperty(name = "goodsPrice",notes = "商品价格",required = true,value = "商品价格")
    private Double goodsPrice;
    /**
     * 团长佣金
     */
    @ApiModelProperty(name = "goodsCothotr",notes = "团长佣金",required = true,value = "团长佣金")
    private Double goodsCothotr;
    /**
     * 限购数量
     */
    @ApiModelProperty(name = "goodsLq",notes = "限购数量",required = true,value = "限购数量")
    private Integer goodsLq;
    /**
     * 市场价格
     */
    @ApiModelProperty(name = "goodsMp",notes = "市场价格",required = true,value = "市场价格")
    private Double goodsMp;
    /**
     * 商品图片
     */
    @ApiModelProperty(name = "goodsPp",notes = "商品图片",required = false,value = "商品图片")
    private String goodsPp;
    /**
     * 拼团图片
     */
    @ApiModelProperty(name = "goodsCp",notes = "拼团图片",required = false,value = "拼团图片")
    private String goodsCp;
    /**
     * 商品重量
     */
    @ApiModelProperty(name = "goodsCw",notes = "商品重量",required = true,value = "商品重量")
    private Integer goodsCw;
    /**
     * 推荐状态(0:不推荐 1:推荐)
     */
    @ApiModelProperty(name = "goodsRs",notes = "推荐状态(0:不推荐 1:推荐)",required = false,value = "推荐状态(0:不推荐 1:推荐)")
    private Integer goodsRs;
    /**
     * 免运费状态(0:不免运费 1:免运费)
     */
    @ApiModelProperty(name = "goodsFss",notes = "免运费状态(0:不免运费 1:免运费)",required = false,value = "免运费状态(0:不免运费 1:免运费)")
    private Integer goodsFss;
    /**
     * 商品详情
     */
    @ApiModelProperty(name = "goodsCd",notes = "商品详情",required = true,value = "商品详情")
    private String goodsCd;
    /**
     * 商品编号
     */
    @ApiModelProperty(name = "goodsCode",notes = "商品编号",required = true,value = "商品编号")
    private String goodsCode;
    /**
     * 商品相册id(外键)
     */
    @ApiModelProperty(name = "paId",notes = "商品相册id(外键)",required = true,value = "商品相册id(外键)")
    private Integer paId;
    /**
     * 商品规格id(外键)
     */
    @ApiModelProperty(name = "comspecId",notes = "商品规格id(外键)",required = false,value = "商品规格id(外键)")
    private Integer comspecId;
    /**
     * 拼团价格id(外键)
     */
    @ApiModelProperty(name = "gpId",notes = "拼团价格id(外键)",required = false,value = "拼团价格id(外键)")
    private Integer gpId;
    /**
     * 商品分类id(外键)
     */
    @ApiModelProperty(name = "goodsCid",notes = "商品分类id(外键)",required = false,value = "商品分类id(外键)")
    private Integer goodsCid;
    /**
     * 商品标签id(外键)
     */
    @ApiModelProperty(name = "pllId",notes = "商品标签id(外键)",required = false,value = "商品标签id(外键)")
    private Integer pllId;
    /**
     * 虚拟销量
     */
    @ApiModelProperty(name = "xnxl",notes = "虚拟销量",required = true,value = "虚拟销量")
    private Integer xnxl;

    private Pa pa;
    private Comspec comspec;
    private Gp gp;
    private GoodsClass goodsClass;
    private Pll pll;


    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsRemarks() {
        return goodsRemarks;
    }

    public void setGoodsRemarks(String goodsRemarks) {
        this.goodsRemarks = goodsRemarks;
    }

    public Integer getGoodsIw() {
        return goodsIw;
    }

    public void setGoodsIw(Integer goodsIw) {
        this.goodsIw = goodsIw;
    }

    public Integer getGoodsRbs() {
        return goodsRbs;
    }

    public void setGoodsRbs(Integer goodsRbs) {
        this.goodsRbs = goodsRbs;
    }

    public Integer getGoodsCi() {
        return goodsCi;
    }

    public void setGoodsCi(Integer goodsCi) {
        this.goodsCi = goodsCi;
    }

    public Double getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(Double goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public Double getGoodsCothotr() {
        return goodsCothotr;
    }

    public void setGoodsCothotr(Double goodsCothotr) {
        this.goodsCothotr = goodsCothotr;
    }

    public Integer getGoodsLq() {
        return goodsLq;
    }

    public void setGoodsLq(Integer goodsLq) {
        this.goodsLq = goodsLq;
    }

    public Double getGoodsMp() {
        return goodsMp;
    }

    public void setGoodsMp(Double goodsMp) {
        this.goodsMp = goodsMp;
    }

    public String getGoodsPp() {
        return goodsPp;
    }

    public void setGoodsPp(String goodsPp) {
        this.goodsPp = goodsPp;
    }

    public String getGoodsCp() {
        return goodsCp;
    }

    public void setGoodsCp(String goodsCp) {
        this.goodsCp = goodsCp;
    }

    public Integer getGoodsCw() {
        return goodsCw;
    }

    public void setGoodsCw(Integer goodsCw) {
        this.goodsCw = goodsCw;
    }

    public Integer getGoodsRs() {
        return goodsRs;
    }

    public void setGoodsRs(Integer goodsRs) {
        this.goodsRs = goodsRs;
    }

    public Integer getGoodsFss() {
        return goodsFss;
    }

    public void setGoodsFss(Integer goodsFss) {
        this.goodsFss = goodsFss;
    }

    public String getGoodsCd() {
        return goodsCd;
    }

    public void setGoodsCd(String goodsCd) {
        this.goodsCd = goodsCd;
    }

    public String getGoodsCode() {
        return goodsCode;
    }

    public void setGoodsCode(String goodsCode) {
        this.goodsCode = goodsCode;
    }

    public Integer getPaId() {
        return paId;
    }

    public void setPaId(Integer paId) {
        this.paId = paId;
    }

    public Integer getComspecId() {
        return comspecId;
    }

    public void setComspecId(Integer comspecId) {
        this.comspecId = comspecId;
    }

    public Integer getGpId() {
        return gpId;
    }

    public void setGpId(Integer gpId) {
        this.gpId = gpId;
    }

    public Integer getGoodsCid() {
        return goodsCid;
    }

    public void setGoodsCid(Integer goodsCid) {
        this.goodsCid = goodsCid;
    }

    public Integer getPllId() {
        return pllId;
    }

    public void setPllId(Integer pllId) {
        this.pllId = pllId;
    }

    public Pa getPa() {
        return pa;
    }

    public void setPa(Pa pa) {
        this.pa = pa;
    }

    public Comspec getComspec() {
        return comspec;
    }

    public void setComspec(Comspec comspec) {
        this.comspec = comspec;
    }

    public Gp getGp() {
        return gp;
    }

    public void setGp(Gp gp) {
        this.gp = gp;
    }

    public GoodsClass getGoodsClass() {
        return goodsClass;
    }

    public void setGoodsClass(GoodsClass goodsClass) {
        this.goodsClass = goodsClass;
    }

    public Pll getPll() {
        return pll;
    }

    public void setPll(Pll pll) {
        this.pll = pll;
    }

    @Override
    public String toString() {
        return "Goods{" +
                "goodsId=" + goodsId +
                ", goodsName='" + goodsName + '\'' +
                ", goodsRemarks='" + goodsRemarks + '\'' +
                ", goodsIw=" + goodsIw +
                ", goodsRbs=" + goodsRbs +
                ", goodsCi=" + goodsCi +
                ", goodsPrice=" + goodsPrice +
                ", goodsCothotr=" + goodsCothotr +
                ", goodsLq=" + goodsLq +
                ", goodsMp=" + goodsMp +
                ", goodsPp='" + goodsPp + '\'' +
                ", goodsCp='" + goodsCp + '\'' +
                ", goodsCw=" + goodsCw +
                ", goodsRs=" + goodsRs +
                ", goodsFss=" + goodsFss +
                ", goodsCd='" + goodsCd + '\'' +
                ", goodsCode='" + goodsCode + '\'' +
                ", paId=" + paId +
                ", comspecId=" + comspecId +
                ", gpId=" + gpId +
                ", goodsCid=" + goodsCid +
                ", pllId=" + pllId +
                '}';
    }


}